{yun:}include file="$wapstyle/member/cheader.htm"{/yun}
<style>
    .comheader  {
        display: none;
    }
</style>

<div class="yun_com_member">
    <i class="yun_com_member_bg1"></i>

    <div class="yun_com_member_index_t">
        {yun:}if empty($spid){/yun}
            <span class="yun_com_member_index_set"><a class="yun_com_member_index_set_icon" href="index.php?c=set"></a></span>
        {yun:}else{/yun}
            <span class="yun_com_member_index_set"><a style="color:#fff" href="javascript:;" onclick="islogout('{yun:}url m=wap c=loginout{/yun}','确认退出吗？');">退出登录</a></span>
        {yun:}/if{/yun}
        <span class="yun_com_member_index_msg"><a class="yun_com_membersysnews" href="index.php?c=sysnews"><i class="yun_com_membersysnews_n" id="sysmsgnum"></i></a></span> 
        {yun:}if empty($spid){/yun}
	        {yun:}if $signstate==1 {/yun}
	        	<a class="yun_com_member_index_qd" onClick="signok();"><span class="yun_com_member_index_qd_s">已签到</span></a>
	        {yun:}else{/yun}
	        	<a href="javascript:void(0);" onClick="sign();" class="yun_com_member_index_qd"><span class="yun_com_member_index_qd_s">签到赚{yun:}$config.integral_pricename{/yun}</span></a>
	        {yun:}/if{/yun}
        {yun:}/if{/yun}
    </div>

    <div class="yun_com_member_indexinfo">

        <div class="yun_com_member_indexinfo_logo">
            <a href="{yun:}if empty($spid){/yun}index.php?c=photo&t=1{yun:}else{/yun}javascript:void(0);{yun:}/if{/yun}"><img src="{yun:}$company.logo{/yun}" onerror="showImgDelay(this,'{yun:}$config.sy_ossurl{/yun}/{yun:}$config.sy_unit_icon{/yun}',2);"></a>
        </div>

        <div class="yun_com_member_comname">
	        <span class="yun_com_member_comname_t">{yun:}$company.name{/yun}</span>
            <a href="{yun:}url m=wap c=company a=show id='`$uid`'{/yun}" class="yun_com_member_comlook">预览</a>
        </div>

        <div class="">

            {yun:}if $company.moblie_status==1{/yun}
            	<a class="yun_com_member_comrz yun_com_member_comyrz" href="{yun:}if empty($spid){/yun}index.php?c=bindingbox&type=moblie{yun:}else{/yun}javascript:void(0);{yun:}/if{/yun}"><i class="yun_com_member_comrz_icon yun_com_member_comrz_iconsj"></i>已认证 </a>
            {yun:}else{/yun}
            	<a class="yun_com_member_comrz" href="{yun:}if empty($spid){/yun}index.php?c=bindingbox&type=moblie{yun:}else{/yun}javascript:void(0);{yun:}/if{/yun}"><i class="yun_com_member_comrz_icon yun_com_member_comrz_iconsj"></i>未认证 </a>
            {yun:}/if{/yun} 
            
            {yun:}if $company.email_status==1{/yun}
            	<a class="yun_com_member_comrz yun_com_member_comyrz" href="{yun:}if empty($spid){/yun}index.php?c=bindingbox&type=email{yun:}else{/yun}javascript:void(0);{yun:}/if{/yun}"><i class="yun_com_member_comrz_icon yun_com_member_comrz_iconyx"></i>已绑定</a> 
           	{yun:}else{/yun}
            	<a class="yun_com_member_comrz" href="{yun:}if empty($spid){/yun}index.php?c=bindingbox&type=email{yun:}else{/yun}javascript:void(0);{yun:}/if{/yun}"><i class="yun_com_member_comrz_icon yun_com_member_comrz_iconyx"></i>未绑定</a> 
            {yun:}/if{/yun}
            {yun:}if $member.wxopenid!="" || $member.wxid!=''{/yun}
				 <a class="yun_com_member_comrz yun_com_member_comyrz" href="index.php?c=binding"><i class="yun_com_member_comrz_icon yun_com_member_comrz_iconwx"></i> 已认证</a> 
			{yun:}else{/yun}
			     <a class="yun_com_member_comrz" href="index.php?c=binding"><i class="yun_com_member_comrz_icon yun_com_member_comrz_iconwx"></i> 未认证</a> 
			{yun:}/if{/yun}
           
            {yun:}if $company.yyzz_status=="1"{/yun}
            	<a class="yun_com_member_comrz yun_com_member_comyrz" href="{yun:}if empty($spid){/yun}index.php?c=comcert{yun:}else{/yun}javascript:void(0);{yun:}/if{/yun}"><i class="yun_com_member_comrz_icon yun_com_member_comrz_iconzz"></i> 已认证 </a> 
            {yun:}else{/yun}
            	<a class="yun_com_member_comrz" href="{yun:}if empty($spid){/yun}index.php?c=comcert{yun:}else{/yun}javascript:void(0);{yun:}/if{/yun}"><i class="yun_com_member_comrz_icon yun_com_member_comrz_iconzz"></i> 未认证</a> 
            {yun:}/if{/yun}
        </div>
    </div>
    
    
  <section>
    <div class="m_index_msg">
        <dl class="m_index_msg_list">
            <a href="index.php?c=hr"><dt id="sqnum"></dt>
                <dd>收到简历</dd>
            </a>
        </dl>
        <dl class="m_index_msg_list">
            <a href="index.php?c=msg"><dt id="msgnum"></dt>
                <dd>求职者咨询</dd>
            </a>
        </dl>
         <dl class="m_index_msg_list">
            <a href="index.php?c=attention_me"><dt id="attention_menum"></dt>
                <dd>对我感兴趣</dd>
            </a>
        </dl>
        <dl class="m_index_msg_list">
            <a href="index.php?c=look_job"><dt id="look_jobnum"></dt>
                <dd>谁看过我</dd>
            </a>
        </dl>
    </div>
</section>  
    
    <div class="clear"></div>
<div class="hy_box"><div class="hy_box_c"><span class="hy_box_name">{yun:}$statis.rating_name{/yun}</span>  升级会员享特权<a href="index.php?c=rating" class="hy_box_bth">查看详情</a></div></div>

   <div class="clear"></div>
    <div class="yun_com_member_indexfw none"> 我的服务：{yun:}$statis.rating_name{/yun}
        {yun:}if empty($spid){/yun}
            <span>&nbsp;<a href="index.php?c={yun:}if $config.com_vip_type==2||$config.com_vip_type==0{/yun}rating{yun:}else{/yun}time{yun:}/if{/yun}" style="color:#FF0">升级</a></span>
        {yun:}/if{/yun}
        {yun:}if empty($spid){/yun}
        	<div class="yun_com_member_indexfw_jf">可用{yun:}$config.integral_pricename{/yun}：{yun:}$statis.integral|default:0{/yun} {yun:}$config.integral_priceunit{/yun}</div>
            <a href="index.php?c=pay" class="yun_com_member_indexczbth">充值</a>
            <a href="index.php?c=integral" class="yun_com_member_indexzjf">赚{yun:}$config.integral_pricename{/yun}</a>
        {yun:}/if{/yun}
    </div>
</div>



<div class="clear"></div>
<div class="cy_box">
<div class="cy_box_c">
<div class="cy_box_tit"><span class="cy_box_tit_n">常用工具</span></div>
<div class="cy_nav"><a href="javascript:void(0)" onclick="jobadd_url('{yun:}$statis.addjobnum{/yun}','{yun:}$config.integral_job{/yun}','job','{yun:}$config.com_integral_online{/yun}','{yun:}$config.integral_proportion{/yun}');"><i class="cy_nav_icon cy_nav_icon_fb"></i>发布职位<input type="hidden" id="refreshjobids" value="" /><input type="hidden" id="jobnums" value="{yun:}$jobnums{/yun}" /></a></div>
<div class="cy_nav"><a href="javascript:void(0)" onclick="RefreshAll('{yun:}$jobids{/yun}','{yun:}$statis.breakjob_num{/yun}');"><i class="cy_nav_icon cy_nav_icon_sx"></i>刷新职位</a></div>
<div class="cy_nav">
    <a href="index.php?c=pay"><i class="cy_nav_icon cy_nav_icon_cz"></i>充值服务</a>
    {yun:}if $nopayorder>0{/yun}
    <a href="index.php?c=paylog" class="cy_box_tip">{yun:}$nopayorder{/yun}个订单未付款</a>
    {yun:}/if{/yun}
</div>
<div class="cy_nav">
    <a href="index.php?c=finance"><i class="cy_nav_icon cy_nav_icon_hy"></i>会员服务</a>
    {yun:}if $couponnum>0{/yun}
    <a href="index.php?c=coupon_list" class="cy_box_tip">{yun:}$couponnum{/yun}张优惠券待使用</a>
    {yun:}/if{/yun}
</div>
<div class="cy_nav"><a  href="index.php?c=jobcolumn"><i class="cy_nav_icon cy_nav_icon_zw"></i>职位管理</a></div>
<div class="cy_nav"><a  href="index.php?c=resumecolumn"><i class="cy_nav_icon cy_nav_icon_jl"></i>简历管理</a></div>
<div class="cy_nav"><a  href="index.php?c=map"><i class="cy_nav_icon cy_nav_icon_wz"></i>企业位置</a></div>
<div class="cy_nav"  onclick="gwshow()"><a  href="javascript:void(0)"><i class="cy_nav_icon cy_nav_icon_kf"></i>客户服务</a></div>


</div>
</div>

<div class="clear"></div>
{yun:}if $company.r_status!=1{/yun}
<div style="padding:15px 15px 0 15px">
<div class="admin_new_tip " style="border-radius:5px;">
    <div class="admin_new_tit">温馨提示</div>
    <div class="admin_new_tip_list_cont">

		{yun:}if $company.r_status == 0{/yun}

			<div class="admin_new_tip_list"> 您的帐号尚未审核，发布的职位信息将在审核通过后展示 </div>
			<div id="forms" class="admin_new_tip_list">
				您暂时无法查看简历的联系方式，我们会24小时内进行审核，请保持电话畅通，您可联系客服快速审核（{yun:}$config.sy_freewebtel{/yun}）		
			</div>

		{yun:}else if $company.r_status == 2 || $company.r_status == 4{/yun}
					
			<div class="admin_new_tip_list"> 您的帐号已被锁定，您可联系客服快速解锁（{yun:}$config.sy_freewebtel{/yun}） </div>

		{yun:}else if $company.r_status == 3{/yun}
						
			<div class="admin_new_tip_list"> 您的帐号未通过审核，请重新完善资料，您也可联系客服快速审核（{yun:}$config.sy_freewebtel{/yun}） </div>

		{yun:}/if{/yun} 
    </div>
</div>
</div>
{yun:}/if{/yun}

<div class="clear"></div>

{yun:}if $config.sy_haibao_isopen == 1{/yun}
	<div class="zphb_show">
    	<a href="{yun:}url m=wap c=company a=whb id=$uid{/yun}"><div class="zphb_show_c">生成招聘海报分享到朋友圈~</div></a>
	</div>
{yun:}/if{/yun}



<div class="clear"></div>
<div class="yun_user_newmember_c" style="padding:15px 15px">
<ul class="yun_user_newmember_nav">

 	{yun:}if empty($spid){/yun}
 		<li>
           	<a href="index.php?c=info"><i class="yun_usermember_nav_icon yun_usermember_nav_iconinfo"></i>企业资料<span class="yun_mnav_tip">完善企业基本资料</span></a>
       	</li>
   	{yun:}/if{/yun}


	{yun:}if $config.sy_ask_web==1{/yun}
    <li>
        <a href="{yun:}url m=wap c=ask{/yun}"><i class="yun_usermember_nav_icon yun_usermember_nav_iconask"></i>职场问答</a>
    </li>
    {yun:}/if{/yun}
    {yun:}if $config.sy_train_web==1 && empty($spid){/yun}
    <li>
        <a href="index.php?c=fav_subject"><i class="yun_usermember_nav_icon yun_usermember_nav_iconpx"></i>职业培训</a>
    </li>
    {yun:}/if{/yun}

 <li><a href="{yun:}url m=wap c=free{/yun}"><i class="yun_usermember_nav_icon yun_usermember_nav_iconjd"></i>供求任务大厅<span class="yun_mnav_tip">接单赚钱</span>  </a></li>
    {yun:}if empty($spid){/yun}
        <li>
            <a href="index.php?c=set"><i class="yun_usermember_nav_icon yun_usermember_nav_iconzh"></i>账户设置</a>
        </li>
    {yun:}/if{/yun}
	{yun:}if $config.sy_help_open =='1' && empty($spid){/yun}
        <li>
            <a href="index.php?c=friendhelp"><i class="yun_usermember_nav_icon yun_usermember_nav_iconzl"></i>好友助力</a>
        </li>
    {yun:}/if{/yun}

</ul>
</div>
<!--为你推荐 无匹配情况请随机-->
<div class="clear"></div>
<div class="tj_box">
    <div class="tj_tit">
        <span class="tj_tit_s"><i class="tj_tit_icon1"></i><i class="tj_tit_icon2"></i><i class="tj_tit_icon3"></i>为你推荐<i class="tj_tit_iconr1"></i><i class="tj_tit_iconr2"></i><i class="tj_tit_iconr3"></i>
        </span>
    </div>
<!--列表-->
    {yun:}foreach from=$recresume item=recr{/yun}
    <div class="tj_list">
        <div class="tj_list_c">
            <a href="{yun:}url m=wap c=resume a=show id=$recr.id{/yun}">
                <div class="tj_list_yx">{yun:}$recr.jobname{/yun}</div>
                <div class="tj_list_pic">
                    <img src="{yun:}$recr.photo{/yun}" width="50" height="50">
                </div>
                <div class="tj_list_name">{yun:}$recr.username_n{/yun}<span class="tj_list_info">({yun:}$recr.sex_n{/yun},{yun:}$recr.age_n{/yun})</span></div>
                <div class="tj_list_xl">{yun:}$recr.edu_n{/yun}<span class="tj_list_line">|</span>{yun:}$recr.exp_n{/yun}</div>
                <div class="tj_list_lookbox"><span class="tj_list_look">查看详情</span></div>
            </a>
        </div>
    </div>
    {yun:}/foreach{/yun}
</div>






<!--列表 end-->



<div class="clear"></div>

{yun:}if $config.sy_chat_open ==1{/yun}
<div class="chat_wap">
    <a href="{yun:}url m=wap c=chat a=chatList{/yun}">聊聊{yun:}if $chatunread>0{/yun}<i class="yun_chat_new_bth_n">{yun:}$chatunread{/yun}</i>{yun:}/if{/yun}</a>
</div>
{yun:}/if{/yun}

<div class="clear"></div>

<div class="index_section">
    <section class="wap_member">
        <div class="wap_member_mrecord">
        </div>
    </section>
</div>

<!--编辑基本信息引导匡-->
<div id="yingdaoone" style="width:100%;height:100%; background:rgba(51,51,51,0.6); position:fixed;left:0px;top:0px; z-index:100000;{yun:}if $company.name!='' || $spid || $couponList==""{/yun}display:none;{yun:}/if{/yun}">
    <div style="width:100%; position:absolute;left:0px;top:140px;">
        <div style="padding:20px;">
            <div class="index_yd_box">
                <div class="index_yd_box_h1">亲，你还没有填写基本信息</div>
                <div class="user_resume_index_tip_p">
                    <a href="index.php?c=info" class="user_resume_index_tip_sub">编辑</a>
                </div>
                <div class="user_resume_index_tip_p2">
                    <a href="javascript:Close_yd('yingdaoone');" class="user_resume_index_tip_p2_a">下次再说</a>
                </div>
            </div>
        </div>
    </div>
</div>

{yun:}if $company.name && $company.linktel && !$spid && $couponList==""{/yun}

<div id="updaterating" style="width:100%;height:100%; background:rgba(51,51,51,0.6); position:fixed;left:0px;top:0px; z-index:100000; {yun:}if $statis.vip_etime == '0' || $statis.vip_etime > $todayEnd || $smarty.cookies.updatetoast == 1{/yun} display: none;  {yun:}/if{/yun}">
    <div style="width:100%; position:absolute;left:0px;top:140px;">
        <div style="padding:20px;">
            <div class="index_yd_box">
                <div class="index_yd_box_h1">尊敬的企业用户，您好！</br>您的会员已到期，请先续费会员！</div>
                <div class="user_resume_index_tip_p">
                    <a href="index.php?c={yun:}if $config.com_vip_type==2||$config.com_vip_type==0{/yun}rating{yun:}else{/yun}time{yun:}/if{/yun}" class="user_resume_index_tip_sub">续费</a>
                </div>
                <div class="user_resume_index_tip_p2">
                    <a href="javascript:Close_yd('updaterating');" class="user_resume_index_tip_p2_a">下次再说</a>
                </div>
            </div>
        </div>
    </div>
</div>

{yun:}/if{/yun}
 

{yun:}if $statis.vip_etime > $todayEnd || $statis.vip_etime == '0' && !$spid && $couponList==""{/yun}
<!--上传LOGO引导匡-->
<div id="yingdaotwo" style="width:100%;height:100%; background:rgba(51,51,51,0.6); position:fixed;left:0px;top:0px; z-index:100000;{yun:}if $company.logo!=" "{/yun}display:none;{yun:}/if{/yun}">
    <div style="width:100%; position:absolute;left:0px;top:140px;">
        <div style="padding:20px;">
            <div class="index_yd_box">
                <div class="index_yd_box_h1">亲，你还没有上传LOGO</div>
                <div class="user_resume_index_tip_p">
                    <a href="index.php?c=photo" class="user_resume_index_tip_sub">上传LOGO</a>
                </div>
                <div class="user_resume_index_tip_p2">
                    <a href="javascript:Close_yd('yingdaotwo');" class="user_resume_index_tip_p2_a">下次再说</a>
                </div>
            </div>
        </div>
    </div>
</div>
{yun:}/if{/yun} 

{yun:}if $company.logo!="" && !$spid && $couponList==""{/yun}
<!--验证营业执照引导匡-->
<div id="yingdaothree" style="width:100%;height:100%; background:rgba(51,51,51,0.6); position:fixed;left:0px;top:0px; z-index:100000;{yun:}if $company.yyzz_status==1||$company.yyzz_status==0{/yun}display:none;{yun:}/if{/yun}">
    <div style="width:100%; position:absolute;left:0px;top:140px;">
        <div style="padding:20px;">
            <div class="index_yd_box">
                <div class="index_yd_box_h1">亲，你还没有验证营业执照</div>
                <div class="user_resume_index_tip_p">
                    <a href="index.php?c=comcert" class="user_resume_index_tip_sub">验证</a>
                </div>
                <div class="user_resume_index_tip_p2">
                    <a href="javascript:Close_yd('yingdaothree');" class="user_resume_index_tip_p2_a">下次再说</a>
                </div>
            </div>
        </div>
    </div>
</div>
{yun:}/if{/yun}
<!--优惠券提示-->
<div id="yhq_tip"  style="width:100%;height:100%; background:rgba(51,51,51,0.6); position:fixed;left:0px;top:0px; z-index:100000;{yun:}if $couponList{/yun}{yun:}else{/yun}display:none;{yun:}/if{/yun}">
<div style="width:100%; position:absolute;left:0px;top:140px;">
<div style="padding:20px;">
<div class="yhq_tip">
<div class="yhq_tip_c">
<a href="javascript:void(0)" onclick="couponclose('{yun:}$couponList.id{/yun}')" class="yhq_tip_close">关闭</a>
<div class="yhq_tip_h1">恭喜您获得</div>
<div class="yhq_tip_h2">用户专享优惠券</div>
<div class="yhq_tip_box">
<div class="yhq_tip_n"><span class="yhq_tip_n_f">￥</span>{yun:}$couponList.coupon_amount{/yun}</div>
{yun:}if $couponList.coupon_scope>0{/yun}<div class="">满{yun:}$couponList.coupon_scope{/yun}使用</div>{yun:}/if{/yun}
<div class="">使用时间：{yun:}$couponList.ctime|date_format:'%Y-%m-%d'{/yun} 至 {yun:}$couponList.validity|date_format:'%Y-%m-%d'{/yun}</div>
</div>
<div class="yhq_tip_bth"><a href="javascript:void(0)" onclick="couponuse('{yun:}$couponList.id{/yun}')" class="yhq_tip_bth_a">立即使用</a></div>
<div class="yhq_tip_kf">如有疑问请与客服联系</div>
<div class="yhq_tip_kf"><a href="tel:{yun:}$config.sy_freewebtel{/yun}" style="color:#fff">{yun:}$config.sy_freewebtel{/yun}</a></div>
</div>
</div>
</div>
</div>
</div>
<script src="{yun:}$wap_style{/yun}/js/jsMath.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<script>
    function Close_yd(id) {
        $("#" + id).hide();
    }

    function RefreshAll(id, num) {
		

		if(id == '') {
			layermsg("您暂无发布中的职位！", 2, function() {
				window.location.href = wapurl + "member/index.php?c=job&type=1&w=1";
			});
			return false;
		}else{
	    	var jobnums	=	$("#jobnums").val();
	    	if(parseInt(num) > parseInt(jobnums)){
	    		layer.open({
	            	title 	: [ '温馨提示', 'background-color: #FF4351; color:#fff;' ],
	                content	: '本次刷新'+jobnums+'职位，将扣除'+jobnums+'份刷新套餐数据，是否刷新？',
	                btn: ['继续', '取消'],
	                shadeClose: false,
	                yes: function() {
	                  	sxJob(id);
	                }
	            });
	    	}else{
	    		sxJob(id);
	    	}
		}
    }
	
    function sxJob(id){

		var wapurl 		= 	'{yun:}url m=wap{/yun}';
		var ajaxUrl 	= 	wapurl + "member/index.php?c=ajax_refresh_job";
		var integral 	= 	'{yun:}$config.integral_jobefresh{/yun}';

		var chk_value 		= 	[];
		chk_value 			= 	id.split(",");
		
		$("#refreshjobids").val(chk_value);
		
		var jobid 			= 	$("#refreshjobids").val();
		
		var breakjob_num 	= 	'{yun:}$statis.breakjob_num{/yun}';
		var sxdj 			= 	'{yun:}$config.integral_jobefresh{/yun}';
		var online			= 	'{yun:}$config.com_integral_online{/yun}';
		var pro 			=	'{yun:}$config.integral_proportion{/yun}';
		
		var num 			= 	accSub(chk_value.length, breakjob_num);
		var sxneed			= 	accMul(sxdj, num);
		var inter 			= 	accMul(integral, pro);
		var sxintegral 		= 	accMul(inter, num);
		
		$.post(ajaxUrl, {jobid: jobid }, function(data) {
			
			data = eval('(' + data + ')');
			
			if(data.error == 1) {
			
				layermsg(data.msg, 2, function() {
					window.location.href = '';
				});
				
			} else if(data.error == 2) {
				 
				layer.open({
					title 	: 	[ '温馨提示', 'background-color: #FF4351; color:#fff;' ],
					content	: 	data.msg,
					btn		: 	['继续', '取消'],
					shadeClose	: 	false,
					yes	: 	function() {
						window.location.href = "index.php?c=server&server=sxjob&id=" + id;
					}
				});
			} else {
				if(data.url) {
					layermsg(data.msg, 2, function() {
						location.href = "index.php?c={yun:}if $config.com_vip_type==2||$config.com_vip_type==0{/yun}rating{yun:}else{/yun}time{yun:}/if{/yun}"
					});
				} else {
					layermsg(data.msg, 2);
				}

			}
		});
    }
function couponuse(couponid){
  $.post('index.php?c=couponsee',{couponid:couponid},function(data){
    window.location.href ="index.php?c=rating";
  });
}
function couponclose(couponid){

  $.post('index.php?c=couponsee',{couponid:couponid},function(data){
     $("#yhq_tip").hide();
  });
}
	
</script>
{yun:}include file="$wapstyle/footer.htm"{/yun}